package com.yaj.mesif.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "发送给U8订单完成Dto")
public class U8ToOrderDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套号",required = true)
    private String CACCID;

    @ApiModelProperty(value = "入库单号",notes = "入库单号—小订单号",required = true)
    private String CVOUCHCODE;

    @ApiModelProperty(value = "U8生产订单号",notes = "订单号-之前的部分",required = true)
    private String CMOMORDER;

    @ApiModelProperty(value = "U8生产订单行号",notes = "订单号-之后的部分",required = true)
    private String CROWNO;

    @ApiModelProperty(value = "日期",notes = "日期（格式2015-01-01）",required = true)
    private Date DDATE;

    @ApiModelProperty(value = "仓库编码",required = true)
    private String CWHCODE;

    @ApiModelProperty(value = "部门编码",required = true)
    private String CDEPCODE;

    @ApiModelProperty(value = "备注")
    private String CMEMO;

    @ApiModelProperty(value = "制单人",required = true)
    private String CMAKER;

    @ApiModelProperty(value = "存货编码",notes = "成品编号",required = true)
    private String CINVCODE;

    @ApiModelProperty(value = "预计生产数量",required = true)
    private String IQUANTITY_JH;

    @ApiModelProperty(value = "合格数量")
    private String IQUANTITY_HG;

    @ApiModelProperty(value = "不合格数量")
    private String IQUANTITY_RET;

    @ApiModelProperty(value = "批号",required = true)
    private String CBATCH;

    @ApiModelProperty(value = "关联明细ID",notes = "生产订单号（SMT2105417-01）取-后的01",required = true)
    private String AUTOID_MO;
}
